﻿using System;
using UnityEngine;

// Token: 0x02000134 RID: 308
[RequireComponent(typeof(Light))]
public class BackLight : MonoBehaviour
{
	// Token: 0x060006F7 RID: 1783 RVA: 0x00029330 File Offset: 0x00027530
	private void Awake()
	{
		this.light = base.GetComponent<Light>();
	}

	// Token: 0x060006F8 RID: 1784 RVA: 0x00029340 File Offset: 0x00027540
	private void Update()
	{
		this.light.enabled = (ConfigData.backLightIntensity > 0f);
		this.light.intensity = ConfigData.backLightIntensity;
	}

	// Token: 0x040006E9 RID: 1769
	private Light light;
}
